package com.itheima.dao;

import com.itheima.domain.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentDao {
    int save(Student student);

    int delete(Integer studentno);

    int update(Student student);

    Student findById(Integer studentno);

    List<Student> findAll();

    List<Student> findByGradeid(@Param("gradeid") Integer gradeid);
}
